Skip to content

correct metadata "modified" flags and related logic#17172

Open
shuwenwei wants to merge 5 commits intomasterfrom
fixSetModified-0205
Open

correct metadata "modified" flags and related logic#17172
shuwenwei wants to merge 5 commits intomasterfrom
fixSetModified-0205

Conversation

@shuwenwei
Copy link
Member

@shuwenwei shuwenwei commented Feb 5, 2026

Description

correct metadata "modified" flags and related logic

@shuwenwei shuwenwei changed the title Fix setModified bug & update tsfile version correct metadata "modified" flags and related logic Feb 5, 2026
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 81.39535% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.48%. Comparing base (2f07c80) to head (9ef2522).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...engine/schemaregion/utils/ResourceByPathUtils.java 0.00% 3 Missing ⚠️
...in/java/org/apache/iotdb/db/utils/SchemaUtils.java 91.30% 2 Missing ⚠️
...ine/execution/operator/source/FileLoaderUtils.java 92.30% 1 Missing ⚠️
...egion/read/reader/chunk/MemAlignedChunkReader.java 0.00% 1 Missing ⚠️
...e/dataregion/read/reader/chunk/MemChunkReader.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17172      +/-   ##
============================================
- Coverage     39.51%   39.48%   -0.03%     
  Complexity      282      282              
============================================
  Files          5097     5101       +4     
  Lines        341021   341670     +649     
  Branches      43427    43519      +92     
============================================
+ Hits         134761   134915     +154     
- Misses       206260   206755     +495     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

timeseriesMetadata.setModified(true);
for (IChunkMetadata iChunkMetadata : timeseriesMetadata.getChunkMetadataList()) {
if (iChunkMetadata != null) {
iChunkMetadata.setModified(true);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image Image This won't work

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
16.1% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant